[#include "/pages/root/tigris-macros.ftl" /]
[@startPage pageTitle="站点列表"/]

	[@menuPage name="Root" /]
	<div class="rrcc">
		<div class="contnet"></div>
		<div class="right" style="display: block;">
			<div class="right01"><img src=""> 后台管理 &gt; ${pageTitle}</div>
			<div style="margin-bottom:1px;" class="contenttitle radiusbottom0">
		    	<h2 class="form" id="vertical"><span>站点列表</span></h2>
		    </div>
		    [@warningMessage /]
			[@infoMessage /]
			<div>
				[@c.url value="/root/Site_start.action" var='start'][@c.param name="id" value=""/][/@c.url]
    			[@c.url value="/root/Site_stop.action" var='stop'][@c.param name="id" value=""/][/@c.url]
    			[@c.url value="/root/Site_edit.action" var='edit'][@c.param name="id" value=""/][/@c.url]
    			[@c.url value="/root/Site_delete.action" var='delete'][@c.param name="backurl" value="${action.getCurrentUrl()}" /][@c.param name="id" value=""/][/@c.url]
				[@demo.tableDisplayer id="siteTable" renderTo="${renderTo}" ajaxPage="false" property="siteList" pagesize=4 page="/root/index.action" name="FreemarkerTable" config="/pages/component/table/table-sort.ftl" bundle="messageSource" onLoad="alert('ok')"]
					[@demo.column name="id" property="id" title="ID" columnClass="span-tiny" /]
					[@demo.column name="name" property="name" title="名称" columnClass="span2" /]
					[@demo.column name="domain" property="domain" title="域名" columnClass=""/]
					[@demo.column name="baseDomain" property="baseDomain" title="根域名" columnClass=""/]
					[@demo.column name="resPath" property="resPath" title="资源路径" columnClass=""/]
					[@demo.column name="ownerName" property="ownerName" title="持有者" columnClass=""/]
					[@demo.column name="ownerTel" property="ownerTel" title="电话" columnClass=""/]
					[@demo.column name="recordCode" property="recordCode" title="备案号" columnClass=""/]
					[@demo.column name="isClose" property="isClose" title="状态" format="关闭:开放" columnClass="center"/]
					[@demo.column name="status" property="status" title="授权形式" columnClass="center"/]
					[@demo.column name="operate" property="id" title="操作" columnClass="span1 center" innerHtml="\la href=\'${edit}[#id]\' act='edit' class='' \g编辑\l/a\g&nbsp;|&nbsp;\la href=\'${delete}[#id]\' act='del' class='' \g删除\l/a\g&nbsp;" headerClass="batch"/]
					[@demo.column name="operate" property="id" title="操作" columnClass="span1-1 center" innerHtml="\la href=\'${start}[#id]\' act='start' class='' \g启动\l/a\g&nbsp;|&nbsp;\la href=\'${stop}[#id]\' act='stop' class='ajax' \g停止\l/a\g&nbsp;" headerClass="batch"/]
				[/@demo.tableDisplayer]
			</div>
		</div>
	</div>
[@endPage/]
